<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>编辑图书</title>
    <link type="text/css" rel="stylesheet" href="../../static/css/style.css" >
    <style type="text/css">
        h1 {
            text-align: center;
            margin-top: 200px;
        }

        h1 a {
            color:red;
        }

        input {
            text-align: center;
        }
    </style>
</head>
<body>
<div id="header">
    <img class="logo_img" alt="" src="../../static/img/logo.gif" >
    <span class="wel_word">编辑图书</span>
    <div>
        <a href="book_manager.html">图书管理</a>
        <a href="order_manager.html">订单管理</a>
        <a href="../../index.html">返回商城</a>
    </div>
</div>

<div id="main">
    <form action="${pageContext.request.contextPath}/book/update">
        <input type="hidden" name="bookid" value="${bookstop.bookid}">
        <table>
            <tr>
                <td>名称</td>
                <td>价格</td>
                <td>作者</td>
                <td>销量</td>
                <td>库存</td>
                <td colspan="2">操作</td>
            </tr>
            <tr>
                <td><input name="bookname" type="text" value="${bookstop.bookname}"/></td>
                <td><input name="price" type="text" value="${bookstop.price}"/></td>
                <td><input name="author" type="text" value="${bookstop.author}"/></td>
                <td><input name="saleamount" type="text" value="${bookstop.saleamount}"/></td>
                <td><input name="repository" type="text"value="${bookstop.repository}"/></td>
                <td><input type="submit" value="提交"/></td>
            </tr>
        </table>
    </form>


</div>

<div id="bottom">
			<span>
				尚硅谷书城.Copyright &copy;2015
			</span>
</div>
</body>
</html>
